package cn.kgc.springday04.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author 课工场
 * @date 2023/10/9
 * @description    key: newTeacher
 */
@Component
@Data
public class NewTeacher extends Teacher {

    @Value("hello spring")
    private String info;
}
